#include "slideindicator.h"

SlideIndicator::SlideIndicator(QWidget *parent) :
    QWidget(parent)
{
    this->m_value = 0;
}

void SlideIndicator::setValue(int v){
    if(!(v > 100 || v < 0)){
        this->m_value = v;
        update();
        emit valueChanged(this->m_value);
    }
}
